{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "title": "Security::Scan#info schema",
  "description": "The schema validates the content of the Security::Scan#info attribute",
  "additionalProperties": false,
  "properties": {
    "errors": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "type": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "message"
        ]
      }
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "type": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "message"
        ]
      }
    }
  }
}
